package org.example.wx.client.loadBalance;

import org.example.wx.client.connection.ServiceInfo;

import java.util.LinkedList;
import java.util.List;

public interface LoadBalancer {

    ServiceInfo choose(List<ServiceInfo> serviceInfos);

    void writeMetaData(ServiceInfo serviceInfo, Double LBIndex);

    List<ServiceInfo> sort(List<ServiceInfo> serviceInfos);
}
